package com.clss.uvctest;

import android.app.Application;
import android.content.Context;

/**
 * @author liuv
 */

public class UVCtestApplication extends Application {

    private static Context sAppContext;

    @Override
    public void onCreate() {
        super.onCreate();
        sAppContext = getApplicationContext();
//        if (LeakCanary.isInAnalyzerProcess(this)) {
//            return;
//        }
//        LeakCanary.install(this);
    }

    public static Context getAppContext(){
        return sAppContext;
    }
}
